﻿using Net5ApiAndEfMySql.DtoModel.Common;
using Net5ApiAndEfMySql.IRepository.SystemAdmin;
using Net5ApiAndEfMySql.IService.SystemAdmin;
using Net5ApiAndEfMySql.PoModel.SystemAdmin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Net5ApiAndEfMySql.Service.SystemAdmin
{
    public class RoleDbService:BaseService, IRoleDbService
    {
        private IRoleDbRepository _iRoleDbRepository;
        //  private RedisManager _redisManager;
        // public AdminUserService(IAdminUserRepository iAdminUserRepository, RedisManager redisManager)
        public RoleDbService(IRoleDbRepository iRoleDbRepository)
        {
            _iRoleDbRepository = iRoleDbRepository;
        }
        public PagerResult<RoleDbPo> GetPageList(SearchModel m)
        {
            return _iRoleDbRepository.GetPageList(m);
        }
    }
}
